package com.fagertveit.android.game.framework.geom;

public class Rectangle {
	public float x;
	public float y;
	public float width;
	public float height;

	public Rectangle(float x, float y, float width, float height) {
		this.x = x;
		this.y = y;
		this.width = width;
		this.height = height;
	}
	
	public Rectangle() {
		this.x = 0.0f;
		this.y = 0.0f;
		this.width = 10.0f;
		this.height = 10.0f;
	}
	
	public Rectangle transform(float x, float y) {
		this.x += x;
		this.y += y;
		return this;
	}
}
